/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package MathLib.Geometry;

/**
 *
 * @author marko
 */
public class Point2DInt{
    public int x;
    public int y;

    public Point2DInt(){
        x = 0;
        y = 0;
    }

    public Point2DInt(int x, int y){
        this.x = x;
        this.y = y;
    }

    public static double Length(Point2DInt a, Point2DInt b){
        return Math.sqrt((a.x-b.x)*(a.x-b.x) + (a.y-b.y)*(a.y-b.y));
    }
}
